<html jwcid="@Shell" title="Transport">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Services</title>

                  <link jwcid="@Style" href="info.css" media="all"/>

    </head>
    <body jwcid="@Body">

        <table width="100%" border="1">
            <tr>

       <td width="90%">
       <span jwcid="@Phones"/>
       </td>

       <td width="10%" align="center">
      <span jwcid="@ChargeButton" serviceID="ognl:@ge.info.pages.TransportTypePage@SERVICE_ID"></span>
       </td>
           </tr>
       </table>
       <br>

        <input jwcid="@Errors" exceptions='ognl:exceptions'/>
        
        <div align="center">
            
            <form jwcid="@Form">
                <input jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("TransportTypes")'
                       value='ognl:transport.transportType' onChange="this.form.submit()"> NABC </input>
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input jwcid="@DatePicker" value="ognl:fakeDate" style="width: 75px"/>
            </form>

            <form jwcid="@Form">
                რეისი <input jwcid="@TextField" value='ognl:transport.tripCriteria'/>
                <br>
                <input jwcid="@Submit" action="listener:searchTripCriteria" value="ძებნა"/>


            </form>


            <table>
                <tr>
                    <td>
                        
                        <form jwcid="@Form">
                            <table>
                                <tr> 
                                    <td>                                         
                                         <span jwcid="@If" condition="ognl:transport.transportType.transportTypeID==1">
                                             
                                             <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CityPlanes")'
                                                  value='ognl:transport.outCity'> NABC </span>–დან
                                            
                                            &nbsp;&nbsp;&nbsp;&nbsp;
                                            <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CityPlanes")'
                                                          value='ognl:transport.inCity'> NABC </span>
                                            
                                            
                                         </span>
                                        <span jwcid="@If" condition="ognl:transport.transportType.transportTypeID==2">
                                            <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CityRail")'
                                                  value='ognl:transport.outCity'> NABC </span>–დან
                                            &nbsp;&nbsp;&nbsp;&nbsp;
                                            <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CityRail")'
                                                         value='ognl:transport.inCity'> NABC </span>
                                        </span>
                                        
                                        <span jwcid="@If" condition="ognl:transport.transportType.transportTypeID==3">
                                            <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CityBus")'
                                                  value='ognl:transport.outCity'> NABC </span>–დან
                                            &nbsp;&nbsp;&nbsp;&nbsp;
                                            <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CityBus")'
                                                            value='ognl:transport.inCity'> NABC </span>
                                        </span>–მდე
                                    </td>
                                   
                                &nbsp;&nbsp;
                                &nbsp;&nbsp;
                                   
                                    <td>                                 
                                        დღეები <span jwcid="@PropertySelection" model='ognl:@ge.info.domain.transport.DayOfWeek@getDays()'
                                              value='ognl:transport.day'> NABC </span>
                       
                                        <input type="submit" jwcid="@Submit" action="listener:searchTransport" value="ძებნა"  style="width: 75px"/>
                                    </td>
                                </tr>                                
                            </table>                            
                        </form>
                    </td>
                  </tr>
                  <tr>
                    <br><br>
                    <td>                        
                        <form jwcid="@Form">
                            <table>
                                <tr> 
                                    <td>     
                                          <span jwcid="@If" condition="ognl:transport.transportType.transportTypeID==1">
                                            <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CountryPlanes")'
                                                  value='ognl:outCountry'> NABC </span> –დან
                                           &nbsp;&nbsp;&nbsp;&nbsp;
                                            <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CountryPlanes")'
                                                  value='ognl:inCountry'> NABC </span>
                                        </span> 
                                        <span jwcid="@If" condition="ognl:transport.transportType.transportTypeID==2">
                                            <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CountryRail")'
                                                  value='ognl:outCountry'> NABC </span>–დან
                                           &nbsp;&nbsp;&nbsp;&nbsp;
                                            <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CountryRail")'
                                                  value='ognl:inCountry'> NABC </span>
                                        </span>                                        
                                        <span jwcid="@If" condition="ognl:transport.transportType.transportTypeID==3">
                                            <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CountryBus")'
                                                  value='ognl:outCountry'> NABC </span>–დან
                                            &nbsp;&nbsp;&nbsp;&nbsp;
                                            <span jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("CountryBus")'
                                                  value='ognl:inCountry'> NABC </span>
                                        </span>–მდე
                                    </td>
                                 &nbsp;&nbsp;&nbsp;&nbsp;
                                    <td>                                 
                                     დღეები    <span jwcid="@PropertySelection" model='ognl:@ge.info.domain.transport.DayOfWeek@getDays()'
                                              value='ognl:transport.day'> NABC </span>   
                                        <input  type="submit" jwcid="@Submit" action="listener:searchTransportByCountry" value="ძებნა" style="width: 75px"/>

                                   </td>
                                </tr>
                                <span jwcid="@If" condition="ognl:transport.transportType.transportTypeID==1">
                                <td>
                                <caption>
                                                 <font color="red">
                                                 ინფორმაცია მოგვაწოდა "ტავ ჯორჯიამ"
                                             </font>
                                             </caption>
                            </td>
                            </span>
                            </table>
                        </form>
                    </td>    
                </tr>
            </table>    
            
          
            <table border="1">
                <tr>
                       <th>
                          &nbsp;
                       </th>
                 <th>
                    რეისი
                    <br>
                        #
                </th>

                <th>
                    საწყისი
                    <br>
                    პუნქტი
                </th>
               <th>
                    სადგური
                </th>
                  <th>
                    გასვლის
                    <br>
                    დრო
                </th>

               <th>
                    საბოლოო
                    <br>
                    პუნქტი
                </th>
               <th>
                    სადგური
                </th>
                  <th>
                    ჩასვლის
                    <br>
                    დრო
                </th>

                 <th>
                    ჩასვლის
                    <br>
                  ადგ. დრო
                </th>
                  <th>
                    დღეები
                </th>
                 <th>
                    სატრ.
                    <br>
                    კომპ.
                </th>
                <th>
                    ტრანსპ.
                    <br>
                    ტიპი
                </th>
                

                </tr>
                <form jwcid="@Form">
                <span jwcid="@For" source="ognl:transports" value="ognl:loopTransport">
                   
                    <tr>
                       <td>
 <input type="Submit" jwcid="@Submit" value="SMS" style="width: 35px" parameters="ognl:loopTransport" action="listener:sendSMS"/>
                                </td>
                      <td>
                                <a jwcid="@DirectLink" listener="listener:openTransportStopsPage" parameters="ognl:loopTransport.transportID">
                              --  &nbsp;
                                        <input jwcid="@Insert" value="ognl:loopTransport.tripCriteria"/>
                                &nbsp; --
                                </a>
                        </td>
                        <td>
                            <font color="red">
                            <input jwcid="@Insert" value='ognl:loopTransport.outCity.cityName'/>
                            </font>
                        &nbsp;&nbsp;
                        </td>
                        <td>
                            <input jwcid="@Insert" value="ognl:loopTransport.outPlace"/>
                        &nbsp;&nbsp;
                        </td>
                        <td>
                            <input jwcid="@Insert" value="ognl:loopTransport.outTime"/>
                        &nbsp;&nbsp;
                        </td>
                        <td>
                            <font color="green">
                            <input jwcid="@Insert" value='ognl:loopTransport.inCity.cityName'/>
                            </font>
                        &nbsp;&nbsp;
                        </td>
                        <td>
                            <input jwcid="@Insert" value="ognl:loopTransport.inPlace"/>
                        &nbsp;&nbsp;
                        </td>
                        <td>
                            <input jwcid="@Insert" value="ognl:loopTransport.inTime"/>
                        &nbsp;&nbsp;
                        </td>

                      <td>
                          <font color="green">
                            <input jwcid="@Insert" value="ognl:loopTransport.ctm"/>
                        </font>
                            &nbsp;&nbsp;&nbsp;&nbsp;
                        </td>

                         <td>
                             <b>
                            <input jwcid="@Insert" value="ognl:loopTransport.day"/>
                        </b>
                        &nbsp;&nbsp;
                        </td>
                       <!--
                       <td>
                            <input jwcid="@Insert" value="ognl:loopTransport.transportNo"/>
                        </td>
                        -->
                        <td>
                            <input jwcid="@Insert" value="ognl:loopTransport.company"/>
                        &nbsp;&nbsp;
                        </td>
                        <td>
                            <input jwcid="@Insert" value="ognl:loopTransport.transportPlane"/>
                        &nbsp;&nbsp;
                        </td>

                       

                    </tr>
                    <span jwcid="@If" condition="ognl:loopTransport.notecrit != null">
                    <tr>
                        <td colspan="12">
                            
                            <input jwcid="@Insert" value="ognl:loopTransport.price"/>
                        </td>
                    </tr>
                    </span>
                    <span jwcid="@If" condition="ognl:loopTransport.notecrit == -1">
                          <tr>
                        <td colspan="12" bgcolor="#F778A1">
                            <input jwcid="@Insert" value="ognl:loopTransport.note"/>
                        </td>
                          </tr>
    </span>
                    <span jwcid="@Else">
                          <tr>
                          <td colspan="12">
                            <input jwcid="@Insert" value="ognl:loopTransport.note"/>
                        </td>
                        </tr>
    </span>
                      <!--
                      <td>
                            <span jwcid="@If" condition="ognl:loopTransport.stopCount != 0">
                                <a jwcid="@DirectLink" listener="listener:openTransport" parameters="ognl:loopTransport">
                                    შუალედური პუნქტები
                                </a>
                            </span>
                            &nbsp;
                        </td>
                        -->
                  
                    <tr>
                        <td colspan="12" bgcolor="#747170">

                           &nbsp;&nbsp;
                        </td>
                    </tr>
                    
                </span>
                    </form>
            </table>
                
        </div>
    </body>
</html>